import {messages} from "share/common";
import React from 'react'
import { connect } from 'react-redux'

class ApproveCredit extends React.Component{
  constructor(props) {
    super(props);
    this.state = {}
  }

  render() {
    return (
      <div className="approve-credit">
        approve-credit
      </div>
    )
  }
}

ApproveCredit.contextTypes = {
  router: React.PropTypes.object
};

function mapStateToProps(state) {
  return {
    user: state.login.user
  }
}

export default connect(mapStateToProps)(ApproveCredit)
